
package com.qdu.service;

import com.qdu.entity.Admin;
import com.qdu.entity.Note;
import com.qdu.entity.PublicActivity;
import com.qdu.entity.Users;
import java.util.List;

/**
 *StudentService接口，定义学生相关的业务逻辑
 * 
 * @author 24959
 */
public interface AdminService {
    Admin validateLogin(int Ano,String Apwd);
    Admin getAdminByAno(int Ano);
    int addNewAdmin(Admin a);
    int modifyAdminPassWord(Admin a);
    int deleteAdmin(int Ano);
    int deleteUser(int Uno);
    int deletePublic(int Pno);
    Users getOneUserByUno(int Uno);
    List<Admin> findAllAdmin();
    List<Users> findAllUsers();
    List<PublicActivity> findAllPublicActivitys();
}
